QuickTime 4 API Documentation

3D Graphics Programming with QuickDraw 3D 1.5.4

Previous | QD3D Book | Overview | Chapter Contents | Next |

Texture Filter Selectors

A drawing engine may support a texture mapping filter mode that determines how a drawing engine performs texture mapping. You specify an engine's texture filter by assigning a value to its kQATag_TextureFilter state variable. The default value of this variable for a drawing engine that supports texture mapping is kQATextureFilter_Fast .

#define kQATextureFilter_Fast                       0
#define kQATextureFilter_Mid                        1
#define kQATextureFilter_Best                       2

Constant descriptions

kQATextureFilter_Fast
The drawing engine performs whatever level of texture filtering it can do with no speed penalty. This often means that no texture filtering is performed.
kQATextureFilter_Mid
The drawing engine performs a medium level of texture filtering. You should use this texture mapping filter mode when you want to perform texture mapping interactively.
kQATextureFilter_Best
The drawing engine performs the highest level of texture filtering it can. This mode may be unsuitable for interactive rendering.

© 1997 Apple Computer, Inc.

Previous | QD3D Book | Overview | Chapter Contents | Next |